#ifndef __COMMON_H_
#define __COMMON_H_
#include "stdio.h"
#include "unistd.h"
#include "stdlib.h"
#include "string.h"
#include "signal.h"
#include "global.h"
#include "time.h"
#include "stdbool.h"
#include <errno.h>
#include <math.h>


#include <execinfo.h>
#include <sys/types.h>          /* See NOTES */
#include <sys/socket.h>














void    com_Exit();
long    com_fileSize(const char *filename);
void    com_initSignals();



int     com_getFanSpeed();
int     com_getCPUTemp();
int     com_getCPURate();
int     com_getMemRate(char *process);

void    com_localTimeInt2Str(time_t ti,char *dst);
time_t  com_localTimeStr2Int(const char * ts);
#endif

